<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'check.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style>
body{background:url(images/main_bg_03.png) repeat;}

.01-content {
    width:802px;
	height:540px;
	font-size:12px;
	text-align:left;
	color:#666;
	display:inline-block;
}

a{text-decoration:none;color:#666;}
a:hover{color:#FF9900;}
</style>


<script type="text/javascript">
function list(classid){
	window.location.href="Articlelist.action?classId="+classid;
}
</script>
  </head>
  
  <body>
   <div class="01-content"> 
	<s:iterator value="classList" var="val">
				<input type="button"  style="width:80px; height:34px;border:none; cursor:pointer; background:url(images/btn_list03.png) no-repeat;" id="<s:property value='#val.classID'/>" name="<s:property value='#val.classID'/>" 
				value="<s:property value='#val.className'/>" 
				onclick="list(<s:property value='#val.classID'/>);"/>
				</s:iterator>
</div>
				
  </body>
</html>
